package com.heaven.jane.sourcegenerator.business.${name}.service;

import java.util.Optional;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.heaven.jane.sourcegenerator.business.${name}.domain.${name?capitalize};
import com.heaven.jane.sourcegenerator.business.${name}.domain.${name?capitalize}Vo;

/**
 * 项目业务接口
 * @author heaven
 *
 */
public interface ${name?capitalize}Service {
	
	/**
	 * 
	 * @return
	 */
	Page<${name?capitalize}> list(Optional<${name?capitalize}Vo> condition, Pageable pageable);

	${name?capitalize} save(${name?capitalize}Vo data);

	void delete(${name?capitalize}Vo data);
	
}
